package com.lkc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lkc.domain.ResponseResult;
import com.lkc.domain.dto.AddQuestionDto;
import com.lkc.domain.dto.AnswerDto;
import com.lkc.domain.entity.Question;


/**
 * (Question)表服务接口
 *
 * @author 椰咩咩咩
 * @since 2022-12-27 14:41:32
 */
public interface QuestionService extends IService<Question> {

    ResponseResult getQuestions(Long eId);

    ResponseResult getExamedQuestions(Long eId);


    ResponseResult delFromExam(Long qId, Long eId);

    ResponseResult addQuestionToExam(Question question);

    ResponseResult updateQuestion(Question question);

    ResponseResult checkAnswer(AnswerDto answerDto);
}

